/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sirtet.tetris;

import sirtet.netplay.server.GameRoom;
import sirtet.netplay.server.GameRoomFactory;

/**
 * A concrete factory that creats GameRoom for Battling Super Tetris games
 * @author guangwei.zhu
 */
public class TetrisRoomFactory extends GameRoomFactory {

    public TetrisRoomFactory() {
        super(TetrisBoard.GAMETYPE);
    }

    @Override
    protected GameRoom internalCreateRoom() {
        TetrisRoom room = new TetrisRoom();
        room.setMaxBoards(99);

        return room;
    }
}
